package com.gkzf.ai.module.crm.controller.admin.creditReport.vo.creditreport;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - CRM 征信报告 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CreditReportRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28125")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "征信报告基础表id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long creditBasicId;

    @Schema(description = "名称对应value", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("名称对应value")
    private String value;

    @Schema(description = "0：正在解析 1：解析完成", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("0：正在解析 1：解析完成")
    private Boolean status;

    @Schema(description = "上级Id", example = "20015")
    @ExcelProperty("上级Id")
    private Long parentId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}